package com.example.demo.service.Impl;

import com.example.demo.mapper.LogTestMapper;
import com.example.demo.pojo.LogTest;
import com.example.demo.service.LogTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogTestServiceImpl implements LogTestService {
    @Autowired
    private LogTestMapper logTestMapper;

    @Override
    public LogTest selectLog(LogTest logTest) {
        return logTestMapper.selectLog(logTest);
    }

    @Override
    public String selectLogModule(String username, String password) {
        return logTestMapper.selectLogModule(username,password);
    }

    @Override
    public LogTest huoqulinshi(int role) {
        return logTestMapper.huoqulinshi(role);
    }

}
